/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo10_循环_continue {
    public static void main(String[] args) {

        for (int i = 1; i <= 5; i++) {

            if(i==3){
                // 结束本次循环,继续下一次循环
                continue;
            }
            System.out.println("i的值为: " + i);
        }

        System.out.println("程序结束！");

    }
}